
#include "Hal_Isr.h"

#ifdef e_Index_Tm0
void timer0() interrupt 1
{
	SET_GLOBAL_IE(REF_FALSE);
	time0_callback();
	SET_GLOBAL_IE(REF_TRUE);
}
#endif

#ifdef e_Index_Tm1
void timer1() interrupt 3
{
	SET_GLOBAL_IE(REF_FALSE);
	time1_callback();
	SET_GLOBAL_IE(REF_TRUE);
}
#endif

#ifdef e_Index_Uart0
void Uart0_Int(void) interrupt 4
{
	SET_GLOBAL_IE(REF_FALSE);
	uart0_callback();
	SET_GLOBAL_IE(REF_TRUE);
}
#endif

#ifdef e_Index_Uart1
void Uart1_Int() interrupt 7
{
	SET_GLOBAL_IE(REF_FALSE);
	uart1_callback();
	SET_GLOBAL_IE(REF_TRUE);
}
#endif

#ifdef e_Index_Inter0
void INT0Interrupt() interrupt 0
{
	SET_GLOBAL_IE(REF_FALSE);
	int0_callback();
	SET_GLOBAL_IE(REF_TRUE);
}
#endif
#ifdef e_Index_Inter1
void INT1Interrupt() interrupt 2
{
	SET_GLOBAL_IE(REF_FALSE);
	int1_callback();
	SET_GLOBAL_IE(REF_TRUE);
}
#endif
#ifdef e_Index_Inter2
void INT2Interrupt() interrupt 10
{
	SET_GLOBAL_IE(REF_FALSE);
	int2_callback();
	SET_GLOBAL_IE(REF_TRUE);
}
#endif